package bert;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;

class RawTrackGeometry {

	public final Collection<Polygon> Polygons;
	public final Polygon First;
	public final Polygon Last;
	
	public RawTrackGeometry(Collection<Polygon> ps, Polygon first, Polygon last)
	{
		this.Polygons = Collections.unmodifiableCollection(new ArrayList<Polygon>(ps));
		this.First = first;
		this.Last = last;
	}
}
